/*
 * Game.java
 *
 * Created on 7 de Dezembro de 2007, 11:55
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package blitzkrieg.Core;

import java.util.*;

/**
 *
 * @author Administrador
 */
public class Game {
    public static final int JETFIGHTER = 0;
    public static final int SOLDIER = 1;
    public static final int NUKE = 2;
    public static final int MISSILE = 3;
    public static final int DIPLOMAT = 4;
    public static final int FLEET = 5;
            
    Field selectedField;
    Vector players;
    Player currentTurnPlayer;
    Vector fields;
    int turn = 1;
    
    /** Creates a new instance of Game */
    public Game(Vector players) {
        this.players = players;
    }
    
    public void endPlayerTurn(Player player){
        
    }
    
    public void endGlobalTurn(){
        turn++;
    }
    
    public void startBattle(CombatUnit attacker, CombatUnit defender){
        
    }
    
    public void setSelectedField(Field selected){
        this.selectedField = selected;
    }
    
    public Field getSelectedField(){
        return this.selectedField;
    }
    
    public boolean hasSelect(){
        boolean value = true;
        if (this.selectedField == null){
            value = false;
        }
        return value;
    }
    
    public void startGame(){
        
    }
    
}
